package ModelLayer;


/**
 * Write a description of class Loan here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Loan
{
    private Person loaner;
    private Specimen dvdSpecimen;
    private int loanId;

    public Loan(Person newLoaner, Specimen newDvdSpecimen, int newLoanId)
    {
        loaner = newLoaner;
        dvdSpecimen = newDvdSpecimen;
        loanId = newLoanId;
    }
    
    public void setLoaner(Person newLoaner)
    {
        loaner = newLoaner;
    }
    
    public void setSpecimen(Specimen newSpecimen)
    {
        dvdSpecimen = newSpecimen;
    }
    
    public void setLoanId(int newId)
    {
        loanId = newId;
    }
    
    public Person getLoaner()
    {
        return loaner;
    }
    
    public Specimen getSpecimen()
    {
        return dvdSpecimen;
    }
    
    public int getLoanId()
    {
        return loanId;
    }
}